blob: ef439d08bb3584ed06a25a95d3387109063437e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<script>
import { afterNavigate } from '$app/navigation';
import { page } from '$app/stores';
import { activeChannel } from '$lib/store';
import ActiveChannel from '$lib/components/ActiveChannel.svelte';
afterNavigate(async () => {
let { channel } = $page.params;
activeChannel.update((value) => {
value.set(channel)
return value;
});
});
</script>
<ActiveChannel />
|